package edu.ts.crowdfunding.product.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName project
 */
@TableName(value ="project")
@Data
public class Project {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * ID of the user who created the project
     */
    private Long creatorId;
    @TableField(exist = false)
    private String creatorName;//发起人名字
    /**
     * Admin user responsible for this project
     */
    private Long adminUserId;

    /**
     * 
     */
    private Long categoryId;
    @TableField(exist = false)
    private String categoryName;//分类名
    /**
     * 
     */
    private String title;

    /**
     * 
     */
    private String subtitle;

    /**
     * 
     */
    private String coverImageUrl;

    /**
     * 
     */
    private String detailsContent;

    /**
     * 
     */
    private Double goalAmount;

    /**
     * 
     */
    private Double currentAmount;

    /**
     * 
     */
    private Integer supporterCount;

    /**
     * 
     */
    private LocalDateTime startTime;

    /**
     * 
     */
    private LocalDateTime endTime;

    /**
     * 
     */
    private String status;

    /**
     * 
     */
    private LocalDateTime createdAt;

    /**
     * 
     */
    private LocalDateTime updatedAt;
}